package org.zoomdev.zoom.dao.adapters.parameter;

import org.zoomdev.zoom.dao.adapters.ParameterAdapter;

import java.sql.PreparedStatement;
import java.sql.SQLException;

public class IntParameterAdapter implements ParameterAdapter<Integer> {

    @Override
    public void setNonnullParameter(PreparedStatement ps, int index, Integer data) throws SQLException {
        ps.setInt(index, data);
    }
}
